/**
 * Created by IntelliJ IDEA.
 * User: Tomek
 * Date: 07.06.12
 * Time: 21:34
 * To change this template use File | Settings | File Templates.
 */
package zakladki.AS3.widok {
import flash.display.MovieClip;

public class PrivateTransportVisibility {



    public function PrivateTransportVisibility(bigConsumptionVehicle:MovieClip, mediumConsumptionVehicle:MovieClip, smartVehicle:MovieClip, hummerVehicle:MovieClip, bicycle:MovieClip, bike:MovieClip) {
        _bigConsumptionVehicle = bigConsumptionVehicle;
        _mediumConsumptionVehicle = mediumConsumptionVehicle;
        _smartVehicle = smartVehicle;
        _hummerVehicle = hummerVehicle;
        _bicycle = bicycle;
        _bike = bike;
    }

    private var _bigConsumptionVehicle:MovieClip;
    private var _mediumConsumptionVehicle:MovieClip;
    private var _smartVehicle:MovieClip;
    private var _hummerVehicle:MovieClip;
    private var _bicycle:MovieClip;
    private var _bike:MovieClip;


    public function setAllComponentsVisibility(visible:Boolean):void {
        _bigConsumptionVehicle.visible = visible;
        _mediumConsumptionVehicle.visible = visible;
        _smartVehicle.visible = visible;
        _hummerVehicle.visible = visible;
        _bicycle.visible = visible;
        _bike.visible = visible;
    }

    public function get bigConsumptionVehicle():MovieClip {
        return _bigConsumptionVehicle;
    }

    public function set bigConsumptionVehicle(value:MovieClip):void {
        _bigConsumptionVehicle = value;
    }

    public function get mediumConsumptionVehicle():MovieClip {
        return _mediumConsumptionVehicle;
    }

    public function set mediumConsumptionVehicle(value:MovieClip):void {
        _mediumConsumptionVehicle = value;
    }

    public function get smartVehicle():MovieClip {
        return _smartVehicle;
    }

    public function set smartVehicle(value:MovieClip):void {
        _smartVehicle = value;
    }

    public function get hummerVehicle():MovieClip {
        return _hummerVehicle;
    }

    public function set hummerVehicle(value:MovieClip):void {
        _hummerVehicle = value;
    }

    public function get bicycle():MovieClip {
        return _bicycle;
    }

    public function set bicycle(value:MovieClip):void {
        _bicycle = value;
    }

    public function get bike():MovieClip {
        return _bike;
    }

    public function set bike(value:MovieClip):void {
        _bike = value;
    }
}
}
